#include <iostream>
using namespace std;

void tab(int &a, int &b)
{
	int t = a;
	a = b;
	b = t;
}

int main()
{
	int a = 3, b = 4;
	tab(a, b);
	cout << a << endl;
	cout << b << endl;

}